<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{$var_sysname}{$var_sysver}安装 - Powered By Weaverdream</title>
<meta http-equiv="Content-Type" content="text/html; charset={$lang.s._public.global.charset}" />
<meta http-equiv="Content-Language" content="{$lang.s._public.global.language}" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link rel="Shortcut Icon" href="favicon.ico" type="image/x-icon" />
<link rel="Bookmark" href="favicon.ico" type="image/x-icon" />
<link rel="Icon" href="favicon.ico" type="image/x-icon" />
{literal}
<style type="text/css">
<!--
/*========================[public]=======================*/
html,body,table,tr,td,ul,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,p,form,input,textarea,select,a,div,span { margin:0px; padding:0px; border:0px; text-decoration:none; }
html,body,table,tr,td,ul,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,p,form,input,textarea,select { font-size:12px;font-family:\5fae\8f6f\96c5\9ed1, Tahoma, Arial, Helvetica, sans-serif; }
body { background:#E8E8F2; overflow-y:scroll; *overflow-y:auto; }
h1, h2, h3, h4, h5, h6 { line-height:1.2; }
a,
a:link,
a:visited { color:#004477; text-decoration:none; }
a:hover,
a:active { color:#77B900; text-decoration:none; }
.radio_y { background:#D7FBBF; }
.radio_n { background:#F5CDCD; }
.radio_m { background:#CED7FB; }
.input { color:#000000; height:16px; border:1px solid #CCCCCC; background:#FFFFFF; }
.select { color:#000000; border:1px solid #CCCCCC; background:#FFFFFF; white-space:nowrap; }
.textarea { color:#000000; border:1px solid #CCCCCC; background:#FFFFFF; }
.submit { color:#FFFFFF; height:20px; border:1px solid #00335C; background:#004273; white-space:nowrap; cursor:pointer; }
.button { color:#FFFFFF; height:20px; border:1px solid #00335C; background:#004273; white-space:nowrap; cursor:pointer; }
.button_transparent { color:#004477; height:20px; border:0px; background-color:transparent; background-repeat:no-repeat; overflow:visible; white-space:nowrap; cursor:pointer; }
.pagelink {  padding:1px 3px 1px 3px; }
.pagelink *{  font-size:10px; color:#555555; }
.pagelink .pagelink_state { display:inline; padding:1px 3px 1px 3px; border:1px solid #BBBBFF; background-color:#EEEEFF; color:#555555; }
.pagelink a:hover.pagelink_state { background-color:#DDFFFF; color:#555555; }
.pagelink .pagelink_side { display:inline; padding:1px 3px 1px 3px; border:1px solid #BBBBFF; background-color:#EEEEFF; color:#555555; }
.pagelink a:hover.pagelink_side { background-color:#DDFFFF; color:#555555; }
.pagelink .pagelink_list { display:inline; padding:1px 3px 1px 3px; border:1px solid #BBBBFF; background-color:#EEEEFF; color:#555555; }
.pagelink a:hover.pagelink_list { background-color:#DDFFFF; color:#555555; }
.pagelink .pagelink_current { display:inline; padding:1px 3px 1px 3px; border:1px solid #BBBBFF; background-color:#DDDDFF; color:#555555; }
.pagelink a:hover.pagelink_current { background-color:#DDFFFF; color:#555555; }
.pagelink .pagelink_select { display:inline; padding:1px 3px 1px 3px; border:1px solid #BBBBFF; background-color:#EEEEFF; color:#555555; }
.pagelink .pagelink_selected { background-color:#DDDDFF; color:#555555; }
.prompt { padding:0px; margin:0px; display:inline-block; }
.prompt_primal { color:#AAAAAA; padding:1px; margin:1px; display:inline-block; text-align:left; }
.prompt_succeed { color:#000000; border:1px solid #00BE00; display:inline-block; text-align:left; line-height:20px; padding-left:18px; background:#E6FFE6 url(../template/default/{$dir_images}/icon_succeed.gif) no-repeat left center; }
.prompt_failed { color:#000000; border:1px solid #FF6600; display:inline-block; text-align:left; line-height:20px; padding-left:18px; background:#FFF2E9 url(../template/default/{$dir_images}/icon_failed.gif) no-repeat left center;}
.prompt_warning { color:#000000; border:1px solid #FF6600; display:inline-block; text-align:left; line-height:20px; padding-left:18px;  background:#FFF2E9 url(../template/default/{$dir_images}/icon_warning.gif) no-repeat left center; }
.prompt_doubt { color:#000000; border:1px solid #2C6ED5; display:inline-block; text-align:left; line-height:20px; padding-left:18px;  background:#EFF4FF url(../template/default/{$dir_images}/icon_doubt.gif) no-repeat left center; }
.prompt_bubble { width:250px; height:120px; text-align:left; display:block; overflow:hidden; position:absolute; background:url(../template/default/{$dir_images}/bg_prompt.png) no-repeat top left; }
.prompt_bubble > p,
.prompt_bubble > span { width:220px; height:100px; margin:10px 10px 10px 20px; padding:0px; text-align:left; display:block; overflow:hidden; }

/*========================[layout_header]=======================*/
.layout_header { height:90px; margin-right:auto; margin-left:auto; overflow:hidden; background:#A6D4EE url(../template/default/{$dir_images}/bg_content.gif) repeat-y center; text-align:center; }

    .header_area { clear:left; height:90px; overflow:hidden; margin:0px 10px 0px 10px; background:#A6D4EE url(../template/default/{$dir_images}/bg_header_area.gif) repeat-x top; }

    .header_top { height:25px; line-height:25px; overflow:hidden; text-align:left; color:#004477; }
    .header_top a,
    .header_top a:link,
    .header_top a:visited { color:#004477; text-decoration:none; }
    .header_top a:hover,
    .header_top a:active { color:#FFC000; text-decoration:none; }
    .header_top .brief { float:left; }
    .header_top .brief ul { list-style-type:none; }
    .header_top .brief li { float:left; margin:2px 0 0 6px; }
    .header_top .link { float:right; }
    .header_top .link ul { list-style-type:none; }
    .header_top .link li { float:left; margin:2px 6px 0 0; }

    .header_logo { height:65px; line-height:65px; overflow:hidden; text-align:left; color:#666666; }
    .header_logo h1 { float:left; width:260px; height:65px; line-height:65px; }

/*========================[layout_content]=======================*/
.layout_content { margin-right:auto; margin-left:auto; overflow:hidden; background:#FFFFFF url(../template/default/{$dir_images}/bg_content.gif) repeat-y center; text-align:center; }

.content_one_left { width:250px; float:left; overflow:hidden; display:inline; margin:6px 0 0 16px; text-align:left; }
.content_one_right { width:712px; float:right; overflow:hidden; display:inline; margin:6px 16px 0 6px; text-align:left; }

/*------------------------[content_one]-----------------------*/
    .box_menu { padding-bottom:6px; }
    .box_menu .title { height:25px; line-height:25px; overflow:hidden; background:#E1E7EB url(../template/default/{$dir_images}/bg_box.gif) no-repeat 0px 0px; }
    .box_menu .title h2 { float:left; width:60%; height:25px; line-height:25px; overflow:hidden; padding-left:24px; color:#004477; font-weight:bold; text-align:left; background:url(../template/default/{$dir_images}/icon_box.gif) no-repeat 0px 0px; }
    .box_menu .title span { float:right; width:20%; height:25px; line-height:25px; overflow:hidden; padding-right:6px; text-align:right; background:#E1E7EB url(../template/default/{$dir_images}/bg_box.gif) no-repeat right 0px; }
    .box_menu .content { line-height:24px; overflow:hidden; background:#FFFFFF; border-left:1px solid #A6D4EE; border-right:1px solid #A6D4EE; }
    .box_menu .content ul { clear:left; list-style-type:none; padding-left:6px; padding-right:6px; }
    .box_menu .content li { padding-left:18px; background:url(../template/default/{$dir_images}/icon_box.gif) no-repeat 0px -152px; }
    .box_menu .content li.current,
    .box_menu .content li.current a { color:#EE0000;}
    .box_menu .footer { height:6px; overflow:hidden; background:#E1E7EB url(../template/default/{$dir_images}/bg_box.gif) no-repeat 0px -29px; }
    .box_menu .footer span { width:20px; height:6px; float:right; overflow:hidden; background:#E1E7EB url(../template/default/{$dir_images}/bg_box.gif) no-repeat right -29px; }

    .box_content { padding-bottom:6px; overflow:hidden; background:#FFFFFF; }
    .box_content .title { height:25px; line-height:25px; overflow:hidden; border-top:1px solid #A6D4EE; border-bottom:1px solid #A6D4EE; padding-left:18px; background:#E1E7EB url(../template/default/{$dir_images}/icon_box.gif) no-repeat 0px -25px; }
    .box_content .title h2 { float:left; height:25px; line-height:25px; overflow:hidden; padding-left:6px; color:#004477; font-weight:bold; text-align:left; }
    .box_content .content { overflow:hidden; background:#FFFFFF; }
    .box_content .footer { height:30px; text-align:center; overflow:hidden;  }

    .box_content .content .list { margin:6px; }
    .box_content .content .list ul {  list-style-type:none; display:inline; }
    .box_content .content .list ul li { width:95%; overflow:hidden; color:#AAAAAA; font-size:12px; text-align:left; }
    .box_content .content .list ul li h3 { height:30px; line-height:30px; padding-left:6px; text-align:left; background:#E7F1FC; overflow:hidden; font-weight:bold; color:#AAAAAA; }
    .box_content .content .list ul li h4 { height:30px; line-height:30px; text-align:center; overflow:hidden; font-weight:bold; }
    .box_content .content .list ul li .subject { width:20%; line-height:30px; float:left; display:inline-block; text-align:right; overflow:hidden; color:#AAAAAA; }
    .box_content .content .list ul li .fill { width:35%; line-height:30px; float:left; padding-top:3px; display:inline-block; text-align:left; overflow:hidden; color:#AAAAAA; }
    .box_content .content .list ul li .explain { width:35%; line-height:20px; float:left; display:inline-block; text-align:left; overflow:hidden; color:#AAAAAA; }

    .box_content .content .note { margin:6px; }
    .box_content .content .note ul {  list-style-type:none; display:inline; }
    .box_content .content .note ul li { width:95%; overflow:hidden; color:#AAAAAA; font-size:12px; text-align:left; padding-left:18px; background:#FFFFFF url(../template/default/{$dir_images}/icon_box.gif) no-repeat 0px -155px; }

    .box_content .content .rule{ width:600px;line-height:20px; border:1px solid #A6D4EE; margin:3px; padding:3px; overflow:auto; text-align:left;}
    .box_content .content .rule h3 { height:30px; line-height:30px; font-weight:bold; text-align:center; }
    .box_content .content .agree{  height:30px; line-height:30px; text-align:center;}

    .box_content .content .text_y {  width:300px;line-height:20px; text-align:left; color:#00AA00; }
    .box_content .content .text_n {  width:300px;line-height:20px; text-align:left; color:#EA7408; }

    .box_content .content .succeed{ height:30px; line-height:30px; text-align:left; color:#00AA00; }
    .box_content .content .warning{ height:30px; line-height:30px; text-align:left; color:#EA7408; }
    .box_content .content .thanks{ height:30px; line-height:30px; text-align:center; font-size:16px; color:#00AA00; font-weight:bold; }
    .box_content .content .next{ height:30px; line-height:30px; text-align:center;}

/*========================[layout_footer]=======================*/
.layout_footer { margin-right:auto; margin-left:auto; overflow:hidden; background:#E8E8F2 url(../template/default/{$dir_images}/bg_footer.gif) no-repeat top; text-align:center; }

    .footer_one_all { overflow:hidden; margin:10px 0px 10px 0px; text-align:center; }
    .footer_one_all .copyright,
    .footer_one_all .copyright * { font-size:12px; color:#666666; }
    .footer_one_all .poweredby,
    .footer_one_all .poweredby * { font-size:10px; color:#666666; }
    .footer_one_all .runtime,
    .footer_one_all .runtime * { font-size:10px; color:#666666; }
    .footer_one_all a,
    .footer_one_all a:link,
    .footer_one_all a:visited { color:#666666; }
    .footer_one_all a:hover,
    .footer_one_all a:active { color:#666666; }

/*------------------------[config]-----------------------*/
.layout_header, .layout_content, .layout_footer { width:1000px; }
-->
</style>
{/literal}
<script type="text/javascript">
<!--
var php_get_act="{$get.act}";
var php_get_ope="{$get.ope}";
//-->
</script>
<script src="../lib/jquery/jquery.js" type="text/javascript"></script>
<script src="../lib/swfobject/swfobject.js" type="text/javascript"></script>
<script src="../lib/javascript/ac_runactivecontent.js" type="text/javascript"></script>
{$bwajax_printJavascript}
</head>

<body>

<div class="layout_header">
  <div class="header_area">
    <div class="header_top">
      <div class="brief">
        <ul>
          <li>欢迎使用Firmkernel软件安装程序 [{$set.title}]</li>
        </ul>
      </div>
      <div class="link">
        <ul>
          <li><a href="http://www.weaverdream.com/" target="_blank">官方网站</a></li>
          <li><a href="http://forum.weaverdream.com/" target="_blank">技术支持</a></li>
          <li><a href="http://www.gnu.org/copyleft/gpl.html" target="_blank">授权协议</a></li>
        </ul>
      </div>
    </div>
    <div class="header_logo">
      <h1><a href="./install.php" title="Weaverdream"><img src="../{$dir_images}/logo_firmkernel.gif" border="0" alt="Weaverdream" /></a></h1>
    </div>
  </div>
</div>

<div class="layout_content">
  {if $install_lock == "1" && $get.finish != "finish"}
  <div class="content_one_left">
    <div class="box_menu">
      <div class="title">
        <h2>{$set.title_menu}</h2>
        <span></span>
      </div>
      <div class="content">
        <ul>
          <li>选择安装类型</li>
          <li>授权协议</li>
          <li>检测目录权限</li>
          <li>填写设置信息</li>
          <li>开始安装</li>
          <li>安装完成</li>
        </ul>
      </div>
      <div class="footer"><span></span></div>
    </div>
  </div>
  <div class="content_one_right">
    <div class="box_content">
      <div class="title">
        <h2>安装程序被锁定</h2>
      </div>
      <div class="content">
        <div class="warning"><img src="../{$dir_images}/icon_warning.gif" border="0" align="absmiddle" /> 安装程序被锁定!</div>
        <div class="list">
          <ul>
            <li>&nbsp;</li>
            <li><h4>安装程序被锁定, 可能您已经安装过, 如需再次安装请删除安装目录的 install.lock 文件!</h4></li>
          </ul>
        </div>
      </div>
    </div>
  </div>
  {elseif $get.act == "lisense"}
  <div class="content_one_left">
    <div class="box_menu">
      <div class="title">
        <h2>{$set.title_menu}</h2>
        <span></span>
      </div>
      <div class="content">
        <ul>
          <li>选择安装类型</li>
          <li class="current">授权协议</li>
          <li>检测目录权限</li>
          <li>填写设置信息</li>
          <li>开始安装</li>
          <li>安装完成</li>
        </ul>
      </div>
      <div class="footer"><span></span></div>
    </div>
  </div>
  <div class="content_one_right">
    <div class="box_content">
      <div class="title">
        <h2>授权协议</h2>
      </div>
      <div class="content">
        <form id="form_agree" name="form_agree" method="post" action="javascript:void(null);" enctype="multipart/form-data">
        <div class="rule">
          <h3>{$var_sysname}{$var_sysver} 简单介绍</h3>{$install.introduction}
          <h3>{$var_sysname}{$var_sysver} 授权协议</h3>{$install.rule}
        </div>
        <div class="agree">
          <input type="checkbox" id="agree" name="agree" value="1" class="checkbox" />
          我已阅读并接受[<span class="salient">{$var_sysname}{$var_sysver} 授权协议</span>]
        </div>
        <div class="agree">
          <span id="agree_return" name="agree_return"><span class="prompt_primal"></span></span>
        </div>
        <div class="next">
          <input type="button" id="button_agree" name="button_agree" value="下一步" class="button"
                 onclick="xajax.$('button_agree').disabled=true;
                          xajax.$('button_agree').value='请等待...';
                          xajax_agree_rule(xajax.getFormValues('form_agree'));" />
        </div>
        </form>
      </div>
    </div>
  </div>
  {elseif $get.act == "check"}
  <div class="content_one_left">
    <div class="box_menu">
      <div class="title">
        <h2>{$set.title_menu}</h2>
        <span></span>
      </div>
      <div class="content">
        <ul>
          <li>选择安装类型</li>
          <li>授权协议</li>
          <li class="current">检测目录权限</li>
          <li>填写设置信息</li>
          <li>开始安装</li>
          <li>安装完成</li>
        </ul>
      </div>
      <div class="footer"><span></span></div>
    </div>
  </div>
  <div class="content_one_right">
    <div class="box_content">
      <div class="title">
        <h2>检测目录权限</h2>
      </div>
      <div class="content">
        {if $result_check_dir != "1"}
        <div class="warning"><img src="../{$dir_images}/icon_warning.gif" border="0" align="absmiddle" /> 请先修改下列高亮显示的目录属性为755再进行下一步操作!</div>
        {/if}
        <div class="list">
          <ul>
            {foreach name=check_dir from=$check_dir item=item}
            <li>
              {if $item|is_writable == "1"}
                <span class="text_y">{$item} ... 可写</span>
              {else}
                <span class="text_n">{$item} ... 只读</span>
              {/if}
            </li>
            {/foreach}
          </ul>
        </div>
        <div class="next">
          <input type="button" id="button_check" name="button_check" value="下一步" class="button" onclick="top.location.href='{$set.file_name}?act=input';" />
        </div>
      </div>
    </div>
  </div>
  {elseif $get.act == "input"}
  <div class="content_one_left">
    <div class="box_menu">
      <div class="title">
        <h2>{$set.title_menu}</h2>
        <span></span>
      </div>
      <div class="content">
        <ul>
          <li>选择安装类型</li>
          <li>授权协议</li>
          <li>检测目录权限</li>
          <li class="current">填写设置信息</li>
          <li>开始安装</li>
          <li>安装完成</li>
        </ul>
      </div>
      <div class="footer"><span></span></div>
    </div>
  </div>
  <div class="content_one_right">
    <div class="box_content">
      <div class="title">
        <h2>填写设置信息</h2>
      </div>
      <div class="content">
        <div class="list">
          <form id="form_input" name="form_input" method="post" action="javascript:void(null);" enctype="multipart/form-data">
          <ul>
            <li><h3>数据库连接信息{$set.warn_input}</h3></li>
            <li>
              <span class="subject">数据库服务器:</span>
              <span class="fill"><input type="text" id="db_host" name="db_host" class="input" value="{$_session.install_firmkernel_db_host|default:'localhost'}" size="36" style="width:200px;" /></span>
              <span class="explain"><span id="db_host_return" name="db_host_return"><span class="prompt_primal">数据库服务器的主机地址,尽量使用IP</span></span></span>
            </li>
            <li>
              <span class="subject">数据库用户名:</span>
              <span class="fill"><input type="text" id="db_user" name="db_user" class="input" value="{$_session.install_firmkernel_db_user|default:'root'}" size="36" style="width:200px;" /></span>
              <span class="explain"><span id="db_user_return" name="db_user_return"><span class="prompt_primal">数据库连接的用户名</span></span></span>
            </li>
            <li>
              <span class="subject">数据库密码:</span>
              <span class="fill"><input type="password" id="db_pass" name="db_pass" class="input" size="36" style="width:200px;" /></span>
              <span class="explain"><span id="db_pass_return" name="db_pass_return"><span class="prompt_primal">数据库连接的密码</span></span></span>
            </li>
            <li>
              <span class="subject">数据库名称:</span>
              <span class="fill"><input type="text" id="db_database" name="db_database" class="input" value="{$_session.install_firmkernel_db_database}" size="36" style="width:200px;" /></span>
              <span class="explain"><span id="db_database_return" name="db_database_return"><span class="prompt_primal">数据库名称</span></span></span>
            </li>
            <li>
              <span class="subject">数据库表前缀:</span>
              <span class="fill"><input type="text" id="db_prefix" name="db_prefix" class="input" value="{$_session.install_firmkernel_db_prefix|default:'fk_'}" size="36" style="width:200px;" /></span>
              <span class="explain"><span id="db_prefix_return" name="db_prefix_return"><span class="prompt_primal">数据库表前缀</span></span></span>
            </li>
            <li><h3>网站信息</h3></li>
            <li>
              <span class="subject">前台控制文件目录:</span>
              <span class="fill"><input type="text" id="site_root" name="site_root" class="input" value="{$_session.install_firmkernel_site_root|default:$page_path.rootdir}" size="36" style="width:200px;" /></span>
              <span class="explain"><span id="site_root_return" name="site_root_return"><span class="prompt_primal">一般情况下请保留默认</span></span></span>
            </li>
            <li>
              <span class="subject">后台控制文件目录:</span>
              <span class="fill"><input type="text" id="site_root_admin" name="site_root_admin" class="input" value="{$_session.install_firmkernel_site_root_admin|default:$page_path.rootdir}" size="36" style="width:200px;" /></span>
              <span class="explain"><span id="site_root_admin_return" name="site_root_admin_return"><span class="prompt_primal">一般情况下请保留默认</span></span></span>
            </li>
            <li>
              <span class="subject">Cookies前缀:</span>
              <span class="fill"><input type="text" id="site_cookie_prefix" name="site_cookie_prefix" class="input" value="{$_session.install_firmkernel_site_cookie_prefix|default:'firmkernel_'}" size="36" style="width:200px;" /></span>
              <span class="explain"><span id="site_cookie_prefix_return" name="site_cookie_prefix_return"><span class="prompt_primal">一般情况下请保留默认</span></span></span>
            </li>
            <li><h3>管理员信息</h3></li>
            <li>
              <span class="subject">管理员用户名:</span>
              <span class="fill"><input type="text" id="admin_username" name="admin_username" class="input" value="{$_session.install_firmkernel_admin_username|default:'admin'}" size="36" style="width:200px;" /></span>
              <span class="explain"><span id="admin_username_return" name="admin_username_return"><span class="prompt_primal">管理员用户名,将具有所有权限</span></span></span>
            </li>
            <li>
              <span class="subject">管理员信箱:</span>
              <span class="fill"><input type="text" id="admin_email" name="admin_email" class="input" value="{$_session.install_firmkernel_admin_email}" size="36" style="width:200px;" /></span>
              <span class="explain"><span id="admin_email_return" name="admin_email_return"><span class="prompt_primal">管理员信箱</span></span></span>
            </li>
            <li>
              <span class="subject">管理员密码</span>
              <span class="fill"><input type="password" id="admin_password1" name="admin_password1" class="input" size="36" style="width:200px;" /></span>
              <span class="explain"><span id="admin_password1_return" name="admin_password1_return"><span class="prompt_primal">管理员密码</span></span></span>
            </li>
            <li>
              <span class="subject">管理员密码</span>
              <span class="fill"><input type="password" id="admin_password2" name="admin_password2" class="input" size="36" style="width:200px;" /></span>
              <span class="explain"><span id="admin_password2_return" name="admin_password2_return"><span class="prompt_primal">管理员密码</span></span></span>
            </li>
          </ul>
          </form>
        </div>
        <div class="next">
          <input type="button" id="button_input" name="button_input" value="下一步" class="button"
             onclick="xajax.$('button_input').disabled=true;
                      xajax.$('button_input').value='请等待...';
                      xajax_input_msg(xajax.getFormValues('form_input'));" />
        </div>
      </div>
    </div>
  </div>
  {elseif $get.act == "install"}
  <div class="content_one_left">
    <div class="box_menu">
      <div class="title">
        <h2>{$set.title_menu}</h2>
        <span></span>
      </div>
      <div class="content">
        <ul>
          <li>选择安装类型</li>
          <li>授权协议</li>
          <li>检测目录权限</li>
          <li>填写设置信息</li>
          <li class="current">开始安装</li>
          <li>安装完成</li>
        </ul>
      </div>
      <div class="footer"><span></span></div>
    </div>
  </div>
  <div class="content_one_right">
    <div class="box_content">
      <div class="title">
        <h2>开始安装</h2>
      </div>
      <div class="content">
        {if $result_install_config != "1" || $result_install_sql != "1"}
        <div class="warning"><img src="../{$dir_images}/icon_warning.gif" border="0" align="absmiddle" /> 请根据提示检查您的安装环境再试!</div>
        {/if}
        <div class="list">
          <ul>
            <li>
              {if $result_install_config == "1"}
                <span class="text_y">配置文件写入 ... 成功</span>
              {else}
                <span class="text_n">配置文件写入 ... 失败</span>
              {/if}
            </li>
            <li>
              {if $result_install_sql == "1"}
                <span class="text_y">数据库导入 ... 成功</span>
              {else}
                <span class="text_n">数据库导入 ... 失败</span>
              {/if}
            </li>
          </ul>
        </div>
        <div class="next">
          <input type="button" id="button_install" name="button_install" value="返回重新填写信息" class="button" onclick="top.location.href='{$set.file_name}?act=input';" />
        </div>
      </div>
    </div>
  </div>
  {elseif $get.act == "finish"}
  <div class="content_one_left">
    <div class="box_menu">
      <div class="title">
        <h2>{$set.title_menu}</h2>
        <span></span>
      </div>
      <div class="content">
        <ul>
          <li>选择安装类型</li>
          <li>授权协议</li>
          <li>检测目录权限</li>
          <li>填写设置信息</li>
          <li>开始安装</li>
          <li class="current">安装完成</li>
        </ul>
      </div>
      <div class="footer"><span></span></div>
    </div>
  </div>
  <div class="content_one_right">
    <div class="box_content">
      <div class="title">
        <h2>安装完成</h2>
      </div>
      <div class="content">
        <div class="succeed"><img src="../{$dir_images}/icon_succeed.gif" border="0" align="absmiddle" /> 软件安装成功完成!</div>
        <div class="note">
          <ul>
            <li>您已经成功完成安装, <span class="salient">为了网站安全请立刻删除install/目录以及目录内所有文件!</span></li>
            <li>配置文件位于根目录的[config.php], 您随时可以手动修改其配置!</li>
            <li>登录后在页面顶部用户名旁边有[后台管理]的链接,可以用来访问后台!</li>
            <li>您也可以通过[<a href="{$page_path.rootdir}admin.php" target="_blank">{$page_path.rootdir}admin.php</a>]来访问后台!</li>
            <li>欢迎使用 Weaverdream 产品, 使用中的任何问题可以通过[<a href="http://forum.weaverdream.com/" target="_blank">Weaverdream官方论坛</a>]咨询!</li>
          </ul>
        </div>
        <div class="thanks">感谢您选择 Weaverdream 产品, 我们将致力于为您提供优质的互联网产品!</div>
        <div class="next">
          <a href="{$page_path.rootdir}index.php" target="_blank">[进入前台]</a>
          <a href="{$page_path.rootdir}admin.php" target="_blank">[进入后台]</a>
        </div>
      </div>
    </div>
  </div>
  {else}
  <div class="content_one_left">
    <div class="box_menu">
      <div class="title">
        <h2>{$set.title_menu}</h2>
        <span></span>
      </div>
      <div class="content">
        <ul>
          <li class="current">选择安装类型</li>
          <li>授权协议</li>
          <li>检测目录权限</li>
          <li>填写设置信息</li>
          <li>开始安装</li>
          <li>安装完成</li>
        </ul>
      </div>
      <div class="footer"><span></span></div>
    </div>
  </div>
  <div class="content_one_right">
    <div class="box_content">
      <div class="title">
        <h2>选择安装类型</h2>
      </div>
      <div class="content">
        <div class="list">
          <form id="form_agree" name="form_agree" method="post" action="javascript:void(null);" enctype="multipart/form-data">
          <ul>
            <li>&nbsp;</li>
            <li><h4><input type="button" id="button_install" name="button_install" value="开始全新安装" class="button" onclick="top.location.href='install.php?act=lisense';" /></h4></li>
            <li>&nbsp;</li>
            <li><h4><input type="button" id="button_install" name="button_install" value="从Firmkernel1.0升级到Firmkernel1.1" class="button" onclick="top.location.href='upgrade1.0to1.1.php?act=lisense';" /></h4></li>
          </ul>
          </form>
        </div>
      </div>
    </div>
  </div>
  {/if}
</div>

<div class="layout_footer">
  <div class="footer_one_all">
    <div class="copyright">Copyright &copy; <a href="{$lang.s._public.global.weburl}" target="_blank">{$lang.s._public.global.website}</a>. All Rights Reserved. {$config.copyright_add|str_detag}</div>
    <!-- Copyright begin,You can't move this! -->
    <div class="poweredby">Powered by <a href="{$var_sysurl}" target="_blank">{$var_sysname}{$var_sysver}</a> &copy; 2003-{$smarty.now|format_date:"%Y"} <a href="http://www.weaverdream.com" target="_blank">www.weaverdream.com</a></div>
    <!-- Copyright end,You can't move this! -->
  </div>
</div>

</body>
</html>

